﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_REP_CHECK_REPORT_PIC
// * CreateDate    : 2012-1-9 21:45:28
// * Creater       : CodeSmith
// * LastChangeDate: 2012-1-9 21:45:28
// * LastChanger   : 2012-1-9 21:45:28
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class RepCheckReportPicTable : TableInfo
    {
        public const string C_TableName = "REP_CHECK_REPORT_PIC";

        public const string C_CHECK_REPORT_PIC_ID = "CHECK_REPORT_PIC_ID";
        public const string C_CHECK_REPORT_ID = "CHECK_REPORT_ID";
        public const string C_FILE_NAME = "FILE_NAME";
        public const string C_REMARK = "REMARK";

        public RepCheckReportPicTable()
        {
            _tableName = "REP_CHECK_REPORT_PIC";
        }

        protected static RepCheckReportPicTable _current;
        public static RepCheckReportPicTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new RepCheckReportPicTable();

            _current.Add(C_CHECK_REPORT_PIC_ID, new ColumnInfo(C_CHECK_REPORT_PIC_ID, "CheckReportPicId", true, typeof(string)));
            _current.Add(C_CHECK_REPORT_ID, new ColumnInfo(C_CHECK_REPORT_ID, "CheckReportId", false, typeof(string)));
            _current.Add(C_FILE_NAME, new ColumnInfo(C_FILE_NAME, "FileName", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));

        }

        public ColumnInfo CHECK_REPORT_PIC_ID
        {
            get { return this[C_CHECK_REPORT_PIC_ID]; }
        }

        public ColumnInfo CHECK_REPORT_ID
        {
            get { return this[C_CHECK_REPORT_ID]; }
        }

        public ColumnInfo FILE_NAME
        {
            get { return this[C_FILE_NAME]; }
        }

        public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }



    }
}

